import request from '@/utils/request'
/**
 * 返回部门列表
 * @returns
 */
export function getDepartment() {
  return request({
    url: '/company/department'
  })
}
/**
 * 封装获取负责人数据
 */
export function getManagerList() {
  return request({
    url: '/sys/user/simple'
  })
}
/**
 * 新增组织
 * **/
export function addDepartment(data) {
  return request({
    method: 'post',
    url: '/company/department',
    data: data

  })
}
